<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('user_company_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="{$user_id}"/></li>
                    <li><span>企业编号：</span><input type="text" name="user_company_id" value="{$user_company_id}"/></li>
                    <li><span>企业名称：</span><input type="text" name="company_name" value="{$company_name}"/></li>
                    <li><span>企业法人：</span><input type="text" name="law_man" value="{$law_man}"/></li>
                    <li><span>实际经营人：</span><input type="text" name="manager" value="{$manager}"/></li>
                    <li><span>手机号码：</span><input type="text" name="phone" value="{$phone}"/></li>
                    <li><span>企业类型：</span>{:widget('common/Select/select',array('company_type','company_type',$company_type))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>企业编号</p></a></th>
                <th style="width: 4%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                <th style="width: 15%;" class="tabSort-header"><a class="tabSort-header-inner"><p>企业名称</p></a></th>
                <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>企业法人</p></a></th>
                <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>实际经营人</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>手机号码</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>注册资金</p></a></th>
                <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>企业类型</p></a></th>
                <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>持股比例</p></a></th>
                <th style="width: 7%;" class="tabSort-header"><a class="tabSort-header-inner"><p>月均对公流水</p></a></th>
                <th style="width: 7%;" class="tabSort-header"><a class="tabSort-header-inner"><p>月均对私流水</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>状态</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>是否历史</p></a></th>
                <th class="tabSort-header">操作</th>
            </tr>
            </thead>
            <tbody>
            {foreach name="user_company_list" item="info"}
            <tr>
                <td>{$info.asset_company_id}</td>
                <td>{$info.user_id}</td>
                <td>{$info.company_name}</td>
                <td>{$info.law_man}</td>
                <td>{$info.manager}</td>
                <td>{$info.phone}</td>
                <td>{$info.register_capital|default='--'}万</td>
                <td>{:widget('common/Color/Color',array("company_type",$info['company_type']))}</td>
                <td>{$info.hold_ratio|default='--'}%</td>
                <td>{$info.flow_out|default='--'}万</td>
                <td>{$info.flow_in|default='--'}万</td>
                <td>{:widget('common/Color/Color',array("company_status",$info['company_status']))}</td>
                <td>{:widget('common/Color/Color',array("is_history",$info['is_history']))}</td>
                <td>
                    <a data-type="info-win" data-src="{:Url('user_company_info',array('asset_company_id'=>$info['asset_company_id']))}" data-title="详情" data-width="80%" data-height="80%" class="blue">详情</a>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>